package org.zerocouplage.component.impl.component;

import org.zerocouplage.component.api.component.ZCComponent;
import org.zerocouplage.component.api.style.IZCStyle;
import org.zerocouplage.component.impl.style.ZCStyle;

/**
 * 
 * @author Elrhoul Nadia
 * 
 */
public abstract class ZCAbstractComponent implements ZCComponent {
	
	public static ZCAbstractComponent componentName;
	private IZCStyle style;

	/**
	 * <p>
	 * the component style
	 * </p>
	 */
	


	public  void setStyle(IZCStyle pStyle)
	{
		style = pStyle;
	}

	public IZCStyle getStyle()
	{
		if(style == null)
		{
			style = new ZCStyle();
		}
		return style;
	}


	public abstract Object display();

}
